import { injectable, inject } from 'inversify';
import { IAgentService } from '../interfaces/IAgentService';
import { IAgent } from '../../domain/agents/interfaces/IAgent';
import { TYPES } from '../../infrastructure/ioc/types';

@injectable()
export class AgentService implements IAgentService {
  constructor(@inject(TYPES.Agent) private agent: IAgent) {}

  async processMessage(message: string): Promise<string> {
    return this.agent.process(message);
  }
}
